package router

import (
	"github.com/gin-gonic/gin"
	"onerk4/zk2/api/handler"
	"onerk4/zk2/common/pkg"
)

func LoadRouter(r *gin.Engine) {
	r.POST("/userLogin", handler.UserLogin)
	r.POST("/sendSms", handler.SendSms)
	r.Use(pkg.JWTAuth("2209a"))
	r.POST("/searchEnterpriseData", handler.SearchEnterpriseData)
}
